Skip to main content

disabledIcon

Type

property

Summary

Specifies an image to display in a button when the button is disabled.

Syntax

set the disabledIcon of <button> to {<imageID> | <imageName>}

Description

Use the disabledIcon property to change a button's appearance when it is disabled.

When the button's enabled property is set to false, the disabledIcon is displayed within the button's rectangle.

If a button's showIcon property is false, the setting of its disabledIcon property has no effect.

Examples

set the disabledIcon of button "Boss Key" to "Innocent Spreadsheet"

keyword: image, button

object: button

property: ID, name

command: disable

function: stacks

glossary: property, current stack

Compatibility and Support

Introduced

LiveCode 1.1

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?